package com.it.mapping;

import com.it.domain.School;
import org.apache.ibatis.annotations.Insert;

/**
 * Created by Administrator on 2015/12/16.
 */
public interface schoolMapper {
    //使用@Insert注解指明add方法要执行的SQL
    @Insert("insert into school(school_name, school_area,school_type) values(#{school_name},#{school_area},#{school_type})")
    public int add(School school);




}
